﻿using SUNRPA.CONTROLS.IMPL.domain.attrubutes;

namespace SUNRPA.CONTROLS.IMPL.domain.flowRunningVar {
    [ClassInfo("日期")]
    public class DateModel : RPAVariable {
        private DateTime dateValue;
        public DateTime DateValue { 
            get { return dateValue; }
            set { dateValue = value; }
        }

        public DateModel(string name, DateTime value) { 
            VarName = name;
            dateValue = value;   
        }
        [VariableMemberInfo("转成字符串")]
        public override string ToString() { 
            return dateValue.ToString();
        }
    }
}
